package cn.com.service.impl;

import cn.com.beans.QuerySuggestion;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import cn.com.beans.ScoreLine;
import cn.com.mapper.ScoreLineMapper;
import cn.com.service.ScoreLineService;

import java.util.List;

@Service
public class ScoreLineServiceImpl implements ScoreLineService {

    @Resource
    private ScoreLineMapper scoreLineMapper;

    @Override
    public int deleteByPrimaryKey(Integer scId) {
        return scoreLineMapper.deleteByPrimaryKey(scId);
    }

    @Override
    public int insert(ScoreLine record) {
        return scoreLineMapper.insert(record);
    }

    @Override
    public int insertSelective(ScoreLine record) {
        return scoreLineMapper.insertSelective(record);
    }

    @Override
    public ScoreLine selectByPrimaryKey(Integer scId) {
        return scoreLineMapper.selectByPrimaryKey(scId);
    }

    @Override
    public int updateByPrimaryKeySelective(ScoreLine record) {
        return scoreLineMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(ScoreLine record) {
        return scoreLineMapper.updateByPrimaryKey(record);
    }

    @Override
    public ScoreLine findAll(ScoreLine record) {
        return scoreLineMapper.findAll(record);
    }

    @Override
    public List<ScoreLine> selectRecommendCoId(QuerySuggestion querySuggestion) {
        return scoreLineMapper.selectRecommendCoId(querySuggestion);
    }

}



